import { request } from '@/apis';
import { addPrefix } from '@/utils/helper';

const prefixUrl = '/ep-query/screen';

const Api = {
  energyConsumptionDepartment: '/energyConsumptionDepartment',
  keySewageDepartment: '/keySewageDepartment',
  keyMonitorCompanyType: '/keyMonitorCompanyType',
  evaluationType: '/evaluationType',
  evaluationResult: '/evaluationResult',
  completeState: '/completeState'
};

addPrefix(Api, prefixUrl);

/** 认定级别 */
export const getEnergyDepartment = () => request.get({ url: Api.energyConsumptionDepartment });
/** 认定单位 */
export const getKeySewageDepartment = () => request.get({ url: Api.keySewageDepartment });
/** 排污类型 */
export const getEvaluationType = () => request.get({ url: Api.evaluationType });
/** 审核结果 */
export const getEvaluationResult = () => request.get({ url: Api.evaluationResult });
/** 重点监控企业类型 */
export const getKeyMonitorCompanyType = () => request.get({ url: Api.keyMonitorCompanyType });
/** 完成状态 */
export const getCompleteState = () => request.get({ url: Api.completeState });
